Other group features

Let us pay our attention to how the group is transferred to the next page:

If looking through the printout of such report, it seems to be not clear, which client the list of orders on the very top of the second page refers to. FastReport allows repeating of group titles displaying (which in our case contains information about the client) on the next page. To perform this, the “Reprint on new page” menu item (or the “ReprintOnNewPage” property in the object inspector) should be enabled in the “Group header” band. Thus, the report will look in the following way:

There is another way, which allows to avoid breaking of groups. To perform this, the “Keep together” group header property (or “KeepTogether” in the object inspector) should be enabled. Thus, if the whole group does not find room on the page, it is transferred to a new page. In our example, it will look in the following way:

Thus, much blank space may appear on several pages, but the group will be displayed as a whole on the page.

In conclusion, the “StartNewPage” group header property allows to display each group on a separate page. This probably would lead to misuse of paper, however it might be useful in some cases.